package com.learn.ioc.component;

import com.learn.ioc.api.ISoldierService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("soldierService")
public class SoldierService implements ISoldierService {
    @Autowired
    private SoldierDao soldierDao;

    public void getMessage() {
        soldierDao.getMessage();
    }
}
